package c.j.a.c;

import android.text.TextUtils;
import c.j.a.b.a.c.a;
import c.j.a.c.g.y;

/* compiled from: AdDownloadCompletedEventHandlerImpl */
public class f implements Runnable {
    public final /* synthetic */ String a;
    public final /* synthetic */ a b;

    public f(g gVar, String str, a aVar) {
        this.a = str;
        this.b = aVar;
    }

    public void run() {
        String c = y.c(this.a);
        if (!TextUtils.isEmpty(c)) {
            y.a().getSharedPreferences("sp_ttdownloader_md5", 0).edit().putString(String.valueOf(this.b.a), c).apply();
        }
    }
}
